package com.briup.server.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 菜单权限VO实体类
 */
@Data
@Schema(description = "菜单权限VO实体类")
public class MenuVO {
    @Schema(description = "菜单ID")
    private Long id;
    @Schema(description = "菜单名称")
    private String name;
    @Schema(description = "菜单路由路径")
    private String path;
    @Schema(description = "菜单组件路径")
    private String component;
    @Schema(description = "菜单图标")
    private String icon;
    @Schema(description = "菜单类型: 0-目录, 1-菜单, 2-按钮")
    private Byte type;
    @Schema(description = "菜单权限字符串")
    private String perms;
    @Schema(description = "排序号")
    private Integer orderNum;
    @Schema(description = "子菜单列表")
    private List<MenuVO> children;
}
